package cn.iocoder.yudao.module.business.controller.admin.project.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 项目新增/修改 Request VO")
@Data
public class ProjectSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2018")
    private Long id;

    @Schema(description = "项目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "项目名称不能为空")
    private String projectName;

    @Schema(description = "年份", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "年份不能为空")
    private String year;

    @Schema(description = "所属部门Id", example = "6387")
    private Long deptId;

    @Schema(description = "部门名称", example = "赵六")
    private String deptName;

    @Schema(description = "项目类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "项目类型不能为空")
    private String projectType;

    @Schema(description = "项目属性", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "项目属性不能为空")
    private String projectAttribute;

    @Schema(description = "省", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "省不能为空")
    private String province;

    @Schema(description = "市", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "市不能为空")
    private String city;

    @Schema(description = "区")
    private String district;

    @Schema(description = "地区", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "地区不能为空")
    private String area;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "状态不能为空")
    private String state;

    @Schema(description = "学科")
    private String subject;

    @Schema(description = "培训对象")
    private String trainee;

    @Schema(description = "封面图片", example = "https://www.iocoder.cn")
    private String coverUrl;

    @Schema(description = "新字段-项目类型二级")
    private String projectTypeSecond;

    @Schema(description = "新字段-项目委托方")
    private String projectClient;

    @Schema(description = "新字段-项目周期")
    private String projectCycle;

    @Schema(description = "项目时长")
    private String projectDuration;

    @Schema(description = "项目天数")
    private String trainDay;

    @Schema(description = "培训人次")
    private String trainPersonTime;

}